<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
      <h2 v-if="score>90">{{showMessage}}</h2>
      <h1 v-else-if="score>=80">{{showMessage}}</h1>
      <h1 v-else>不及格</h1>
    </div>
    <script src="../js/vue.js"></script>
 <script>
        const app=new Vue({
            el:'#app',
            data:{
                message:"23232",
                isShow:true,
                score:99
            },
            computed:{
                result(){
                    let showMessage=''
                    if (this.score>=90){
                        showMessage="adfasdf士大夫"
                    }
                }
            },
            methods:{
             
            }
        })
    </script>
</body>
</html>